﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SocketLib
{
	public class Command
	{


		#region IPMSG Command 常量定义
		public const long IPMSG_SENDMSG = 0x00000001; //发送消息
		public const long IPMSG_RECVMSG = 0x00000002; //通报收到消息

		public const long IPMSG_GETFILEDATA = 0x00000003;     //请求通过TCP传输文件
		public const long IPMSG_RELEASEFILES = 0x00000004;   //停止接收文件
		public const long IPMSG_GETDIRFILES = 0x00000005;     //请求传输文件夹



		public const int MAXBUF = 8192;
		#endregion IPMSG Command 常量定义 

		public enum MessageType
		{
			Extends_System = 0,
			 Extends_Message = 1,
			Extends_Command = 2,
			Extends_Byte = 3,
			Extends_Char = 4,
			Extends_None = 5,
			Extends_Sound = 6,
			Extends_Video = 7,
			xtends_ZIP = 8

		}


	}
}
